/*
 * @Author: Li Zengkun
 * @Date: 2022-09-09 13:41:14
 * @LastEditors: Li Zengkun
 * @LastEditTime: 2022-09-12 21:20:55
 * @Description: main.js
 */
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import store from './stores'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './assets/css/main.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import "@/plugins/axios.js"

const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

app.use(createPinia())
app.use(router)
app.use(store)
app.use(ElementPlus)

app.mount('#app')